a = """
	@RequestMapping("/to{name}")
	public String to{name}(HttpServletRequest request, Model model) _{_
		int id = Integer.parseInt(request.getParameter("id"));
		String pageName = "{low_name}";
		return baseUrl + pageName;
	_}_"""
b = a.replace("_{_","_1").replace("_}_","_2")
list = ["ShenFenZheng","XueLiZheng","ZhiCheng","GangWei","ZhiYeZhuCe","SanLeiRenYuan","JiShuGongRen","TeZhongZuoYeRenYuan","YeJiXiangGuan"]
for i in list:
    print(b.format(name=i,low_name=i.lower()).replace("_1","{").replace("_2","}"))